package com.rt.system.domain;

import com.rt.common.annotation.Excel;
import com.rt.common.core.domain.BaseEntity;

/**
 * 难易度配置对象 rt_difficulty
 * 
 * @author Yg
 * @date 2022-04-13
 */
public class RtDifficulty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 难易度名称 */
    @Excel(name = "难易度名称")
    private String difficultyName;

    /** 错误率开始 */
    @Excel(name = "错误率开始")
    private Long errorRateStart;

    /** 错误率截止 */
    @Excel(name = "错误率截止")
    private Long errorRateEnd;

    /** 状态，0：禁用，1：启用 */
    @Excel(name = "状态，0：禁用，1：启用")
    private Integer status;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createOperator;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateOperator;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDifficultyName(String difficultyName) 
    {
        this.difficultyName = difficultyName;
    }

    public String getDifficultyName() 
    {
        return difficultyName;
    }
    public void setErrorRateStart(Long errorRateStart) 
    {
        this.errorRateStart = errorRateStart;
    }

    public Long getErrorRateStart() 
    {
        return errorRateStart;
    }
    public void setErrorRateEnd(Long errorRateEnd) 
    {
        this.errorRateEnd = errorRateEnd;
    }

    public Long getErrorRateEnd() 
    {
        return errorRateEnd;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateOperator(String createOperator) 
    {
        this.createOperator = createOperator;
    }

    public String getCreateOperator() 
    {
        return createOperator;
    }
    public void setUpdateOperator(String updateOperator) 
    {
        this.updateOperator = updateOperator;
    }

    public String getUpdateOperator() 
    {
        return updateOperator;
    }

    @Override
    public String toString() {
        return "RtDifficulty{" +
                "id=" + id +
                ", difficultyName='" + difficultyName + '\'' +
                ", errorRateStart=" + errorRateStart +
                ", errorRateEnd=" + errorRateEnd +
                ", status=" + status +
                ", createOperator='" + createOperator + '\'' +
                ", updateOperator='" + updateOperator + '\'' +
                '}';
    }
}
